package com.dynabook.ems.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * User information
 * @TableName users
 */
@TableName(value ="users")
@Data
public class Users implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @TableField(value = "login")
    private String login;

    /**
     * 头像
     */
    @TableField(value = "image")
    private String image;

    /**
     * ems yonghu id
     */
    @TableField(value = "ems_uid")
    private Integer emsUid;

    /**
     * 
     */
    @TableField(value = "password")
    private String password;

    /**
     * 
     */
    @TableField(value = "role_id")
    private Integer roleId;

    /**
     * 
     */
    @TableField(value = "email")
    private String email;

    /**
     * 
     */
    @TableField(value = "first")
    private String first;

    /**
     * 
     */
    @TableField(value = "last")
    private String last;

    /**
     * 
     */
    @TableField(value = "locale")
    private String locale;

    /**
     * 
     */
    @TableField(value = "default_testproject_id")
    private Integer defaultTestprojectId;

    /**
     * 
     */
    @TableField(value = "script_key")
    private String scriptKey;

    /**
     * 
     */
    @TableField(value = "cookie_string")
    private String cookieString;

    /**
     * 
     */
    @TableField(value = "auth_method")
    private String authMethod;

    /**
     * 员工号
     */
    @TableField(value = "number")
    private String number;

    /**
     * 职务
     */
    @TableField(value = "job")
    private String job;

    /**
     * 入职时间
     */
    @TableField(value = "tm")
    private Date tm;

    /**
     * 所属公司
     */
    @TableField(value = "company")
    private String company;

    /**
     * 性别
     */
    @TableField(value = "sex")
    private String sex;

    /**
     * 籍贯
     */
    @TableField(value = "native")
    private String nativePlace;

    /**
     * 学校
     */
    @TableField(value = "school")
    private String school;

    /**
     * 专业
     */
    @TableField(value = "major")
    private String major;

    /**
     * 手机号
     */
    @TableField(value = "tel")
    private String tel;

    /**
     * 地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * GID
     */
    @TableField(value = "GID")
    private Integer gid;

    /**
     * 部
     */
    @TableField(value = "department")
    private String department;

    /**
     * 课
     */
    @TableField(value = "section")
    private String section;

    /**
     * 组
     */
    @TableField(value = "team")
    private String team;

    /**
     * 
     */
    @TableField(value = "active")
    private Integer active;

    /**
     * 是否资源共享
     */
    @TableField(value = "share")
    private Integer share;

    /**
     * 分数
     */
    @TableField(value = "score")
    private Integer score;

    /**
     * 0表示不是申请人1表示是申请人
     */
    @TableField(value = "members")
    private Integer members;

    /**
     * update_time
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 离职时间
     */
    @TableField(value = "leave_time")
    private Date leaveTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}